package org.maitaole.entity;

public class TbCartDetail {
    private Integer cartDetailId;

    private Integer fkCartId;

    private Integer fkInfoDetailId;

    public TbCartDetail() {
    }

    public TbCartDetail(Integer cartDetailId, Integer fkCartId, Integer fkInfoDetailId) {
        this.cartDetailId = cartDetailId;
        this.fkCartId = fkCartId;
        this.fkInfoDetailId = fkInfoDetailId;
    }

    public Integer getCartDetailId() {
        return cartDetailId;
    }

    public void setCartDetailId(Integer cartDetailId) {
        this.cartDetailId = cartDetailId;
    }

    public Integer getFkCartId() {
        return fkCartId;
    }

    public void setFkCartId(Integer fkCartId) {
        this.fkCartId = fkCartId;
    }

    public Integer getFkInfoDetailId() {
        return fkInfoDetailId;
    }

    public void setFkInfoDetailId(Integer fkInfoDetailId) {
        this.fkInfoDetailId = fkInfoDetailId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", cartDetailId=").append(cartDetailId);
        sb.append(", fkCartId=").append(fkCartId);
        sb.append(", fkInfoDetailId=").append(fkInfoDetailId);
        sb.append("]");
        return sb.toString();
    }
}